package cn.kinoko.service.common.event.component;

import cn.kinoko.service.common.event.EventTopicEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 事件堆栈实体
 *
 * @author kinoko
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Event {

    // 用户id
    private Long userId;
    // 时间戳
    private Long timestamp;
    // 事件主题
    private EventTopicEnum eventTopic;
    // 事件参数
    private Object eventParams;

}
